General cleanup jquery.codebookeditor.js