fix binding
lots of changes to get this working with ejs's objc code