Prevents createChange from leaking to global

The variable createChange was leaking up to global scope because it was
not declared.