Adding comments to the Javascript code