makes js paths relative