(WIP) abstracted all jquery deferred/promise logic into a promise utility, removed jquery from all test files