remove deprecated AS call infavor of base64
remove AS require