Web ui fixes

ping @mperham 
If you don't 404, the next line will blow up since it tries to access the key.