Fixed lots of minor Javascript problems that cause Netbeans to complain (equals signs etc).
Catch exception that is caused by user not found
Added trace log for soap fault
- Use correct user name on lock error message
- No longer clear lock when there is no outcome