Added var keyword to onMove and onDie functions to comply with use strict in IE11