Heed JSHint and IDEA warnings
Update dist