WIP : first working version on javascript menu