adding js

added the js