jQuery Variable Error - Object has no method '.val()' or any other method. - it normally results from a Global variable error. Example VS below