make menubutton js for iOS