add semicolon at the end of statement
delete unused variables
make use of jQuery selector
use short-evaluation assign like other lines
Merge pull request #2 from helloheesu/master

trivial improvements