Minor fixes
Revision updated for js files