added javascript to the admin page. created boilerplate for ajax backend for updating settings