fixing issue #11 (RangeError during dust.onLoad)

By moving these two variable declarations inside the dust.onLoad function, we avoid tripping the data.replace statement in error. Not sure if this will prevent the same error from occurring when the data.replace statement is called correctly (in a specialization scenario). Will test that ASAP. But this PR at least will do no harm.