moved js scripts to js folder