What are the best practices of automation testing with Java Script testing framework WebdriverJS?

Can anyone please provide me knowledge about the best practices of automation testing with Java Script testing framework WebdriverJS.