does just `(function() {window.app.mainViewModel.playerVM.togglePause();})();` not work?