removed pre-html requirements. Create menu in js