replaced double quotes and removed extra lines.

Following the JavaScript style guide, I replace the double quotes to single quotes.
On documentation, just remove some extra space lines that is not needed.