add some padding to pages
refactor some js. add readme info