Add protocol check to force http on calls from non-http protocols (ie file://). MJ-589
Fix typo. MJ-589
Remove console.log. MJ-589
Merge pull request #17 from DirectEmployers/local-fix

Fixes the javascript loader so that it will work with files loaded from a file.