fix wrong `if` statement; remove `merge` dependency; add example to jshint.