added explicit dataType declaration in POST as Firefox browser requires it