add semicolon at the end of statement
delete unused variables
make use of jQuery selector
use short-evaluation assign like other lines