fixing paths for js