javascript updates

update typeahead for notes
add posts json for notes