Magpie bridge for Objective-C and JavaScript