WP-1970: add missing semicolons.
WP-1970: condense menus js.