Using SSL (https) access from JS.