JS base URL correction.