AJAX Calls Working

AJAX Function Calls now work.
Fixed a bug with how ajax library was being included.