Fixed JavaScript output for service url override