change paths of required files (js)