js,gae: use VER-dot-url instead of VER.url

This fixes problem with Google's SSL certificate
not supporting *.*.appspot.com domains.

Solution taken from:
https://developers.google.com/appengine/kb/general#https