How can I perform JavaScript testing with Selenium WebDriver and Mocha?

Can anyone please guide me on how i can perform JavaScript testing with Selenium WebDriver and Mocha.