Merge pull request #4 from makaroni4/gh-pages

Added note on JS hoisting, seems like I also cut trailing spaces