You can move all jquery selectors at the top to save same JS cycles.