Use js built-in function "bind", reducing dependency heavily relying on Jquery
and also increase performance.
Remove unnecessary variable.