Move ninja_forms_json_response() in order to fix udnefined variable reported in #297
Merge pull request #311 from pippinsplugins/issue/297

Move ninja_forms_json_response() in order to fix undefined variable