Scheme independent loading of JSs