Fixed menus.js to use dir_smart_match correctly

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>