WIP: initial draft of Chai plugin with partial iOS and JS implementation