Removed trailing commas because they cause problems in Internet Explorer
Closed meta tags without self-closing tag to make them polyglot HTML5
- Created dummy files change_user_preferences.html and UserPreferences.js
- Change name of function from update_user_preferences() to set_user_preferences()