security: fix bug preventing note from being saved
codestyle: fix codestyle in index.html