moved JS files in preprocess to represent the same tree as in www