Add comments to javascript code