style fixes

- Space between `if` and `(`
- use triple equals
- newline after eof
simplify if statement
fix plugin when there is text in the input
update minified js
Merge pull request #2 from sidnair/master

updates