JSHint and fixings
v0.1.2