Changed scripts to javascripts