Add jQuery and Promises