Allow balanced.js to work with phonegap by allowing balanced to work with pages loaded from file:

For details, see http://stackoverflow.com/a/21741119/2837226