added ajax errorhandler + fixed grunt watch method