Bug 941544 - running_apps should always switch to System frame before ex...

...ecuting system javascript