Commenting and housekeeping

A mismatch between the desired name of the plugin and the actual js file
name has been corrected. Also commenting for the whole plugin improved/
added. Slight changes to the layout and code just to streamline it a bit
.