Fix JS syntax error
Remove base64 url encoding