Testing Crypto JS in PhoneGap