Javascript/Java RSA Compatibility