Javascript Undefined Error While Trying To Route To

Javascript Undefined Error While Trying To Route To