moved js files into their own directory