Update JavaScript and AJAX

Bring up more examples for AJAX and JavaScript in WordPress. Go into depth with promises and futures.