for new javascript menu