Fix notification image
Use redirect uri, which doesn't require a real site
Avoid js error

Check for matched data before accessing to it