Added preprocess loading js files