JBIDE-17588 CordovaSim: Fixing browser function initialization