Fixing status_int code for 30x requests
Adding AJAX example to demo
Merge pull request #138 from wwitzel3/fix.132-rewrite

Added AJAX example and fixed 30x codes showing as 200s.