Fix JSHint violations

lru.js now passes JSHint v2.0.1 with the default options, as well as
with "unused" and "undef" set to `true`.
Merge pull request #3 from jamesarosen/master

Fixes a faulty var assignment and adds semicolons to the end of function expressions for ancient js interpreter compatibility.