node.js assert library ported to titanium