Declare variables to fix error with strict mode

Fixes #16