resolved the mismatching ajax
Merge pull request #21 from simensta/solving-ajax-issues

resolved the mismatching ajax