uploaded code not working without certain js files