added comments for js files