Why we ended up building the Humanitarian ID project (http://humanitarianid.org) for the UN entirely on Javascript (node.js + backbone.js), allowing us to manipulate JSON from the mobile clients to the backend.