Uncaught TypeError: Cannot Read Property 'getMsg' Of Undefined - Form Cannot Be Submitted