make js path relative