Fix visibility bug on dependancies + replace alert with throw

Conflicts:
	src/asn1hex.js