moved scripts to a js sub folder