encrypt and decrypt aes with iphone and javascript

I'm trying to figure out to encrypt and decrypt between ios and javascript. I've been using http://dotmac.rationalmind.net/2009/02/aes-interoperability-between-net-and-iphone/ and http://cryptojs.altervista.org/secretkey/doc/doc_aes_nodejs.html in order to see if they would work. I've look around and tried other code presented, but with no luck.