[misc] JSHINT compliance
[example] Updated example
[dist] Bump to v0.6.1