#18472 Redone settings page, moved utility js code to a_common_libs