Use the declared first and second variables
Refactor to jQuery styleguide.
Merge pull request #1 from tobio/patch-1

Use the declared first and second variables and refactor code to styleguide.