javascript: changed rest api url to point at /pa165