Added datatype to AJAX calls
Merge branch 'Stage2' of https://github.com/acdana/ComS309Project into Stage2