mod_menu: fix js if there is no tree_id. Fixes #652