closes #125 - making app.js global
clear globals between runs + formatting
Merge pull request #134 from dbankier/global_context

support for global variable in app.js