fixes #36. NOTE: this is only a temp/hackish solution. THere seems not to be a problem with dispatcher being busy with action. Probably since batch of actions are handled in order without any async parts. Therefore the javascript stack nicely runs everything on order