lib/menu.js fix of mismatch of math-2013 and 2014