Fix js error in myapplicaiton.js.