Updated the comments
Added the javascript file
Updated the javascript file