Fixing commented out HTML issue.  Also added HTML and javascript to response accordingly to user setting changes