Javascript verifier needs to url encode code before it works