Adding some comment to javascript file for clarity