CB-6761 Fix native->JS bridge ceasing to fire when page changes and online is set to false and the JS loads quickly