Fixed bad JavaScript URL references