changed to local js files