A simple AES encryption implementation in JavaScript