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. In addition to calling data.replace in error, this scoping issue also causes a RangeError due to some type of recursion by calling the onLoad callback with erroneous information. The change fixes this.