Use js built-in function "bind", reducing dependency heavily relying on Jquery
and also increase performance.
Remove unnecessary variable.
Merge pull request #1 from sabonis/master

Some improvement