Delint

Finished delint started by @nullstyle in #1011. Number of jshint errors: 0.