added jquery to background. need promises. just makes things easier