Refactor note creation process

Refactor note creation logic to note.js
Test Textarea is now resizable

Used autosize plugin with a callback tweak.
Refactor commit

Refactor