It's by design that when the browser is minimised or goes in to the background, the game suspends entirely. This is to prevent unnecessary resource/battery drain. Generally you should not attempt to work around it, because you will cause unnecessary resource/battery drain on the user's system.