deleted any http self references, added global var to local javascript contexts, removed app config stuff and put it in run