Removed white space at end of lines.
Moved JS file to the 'src' folder.