Remove wrong UTF BOM from config.js
Add html escape / XSS prevention to keyvalue items
Remove incorrect BOMs
Add html escape method and escape dangerous grid fields