Added jQuery error messages for pastebin.

Also improved error messages elsewhere.