Update JavaScript and AJAX

Bring up more examples for AJAX and JavaScript in WordPress. Go into depth with promises and futures.
Merge pull request #29 from franz-josef-kaiser/patch-1

Update JavaScript and AJAX