consolidated the update_doc_open
post data related to settings
added underscore.js
added underscore.js
consolidated set_settings