PDF textbooks: namespace JS variables for URLs