rename scripts folder, restructure js folder