move script to javascripts dir.