Update to JSAPI 3.8 and protocol-relative URLs