Bootstrap/jquery bug fix
client-side code for notes page