Crypto - check for browser support. AGJS-103

for this https://issues.jboss.org/browse/AGJS-103