Fix to allow scripts to be included from hosted pages