Fix duplicate code in index.html and main.js
Remove redundant js ref in index.html
Remove redundant js ref in index.html
Add Page functionalities to Note