Move JS files into new directory structure