Added comments to .js files
Resource enhancement