refactor mobile nav toggle js, add qunit test