Use secure Google jsapi if page is https