Added var keyword to onMove and onDie functions to comply with use strict in IE11
Merge pull request #17 from davidwesst/master

Added var keyword to onMove and onDie functions