Pulled in https://github.com/cha0s/promised-jugglingdb/commit/e0180a529f81c2383eac368ee94fcdd20d10d781 because minification breaks otherwise.