Cosmetics

The main change is cosmetic, I moved the checkmarks:
![lib_tasklist_-_nodemiral_-____dev_nodemiral_](https://cloud.githubusercontent.com/assets/1464035/2937444/fa11d16a-d8a4-11e3-843a-f75a9c1bb529.png)

I also fixed some typos in the code and made sure js code was valid.

I can't get travis to work, so please test this.