changing menu from iframe to js