Revised JS

Revised JS