Updated javascript encryption library