fix for firefox browser issue when parsing result; this was due to the lack of an explicit dataType declaration (json);