Move JS scripts to scripts dir