Make jquery resource use default page scheme