An ACR reader in JavaScript