Changed options to menuOptions in menu.js. Seems as if options was a reserved word.