Split up JavaScript and template code for the settings page
Separated JavaScript and template code for the edit page
Added 'Back to Book' button on edit page