Fixes #3710 - Not an ideal fix. Using a global (similar to djconfig) to
tell AppStates.js whether it not initialize itself or not. However, does
eliminate the use of "top".
Merge branch 'master' of github.com:maqetta/maqetta