moved js to *.js