Ability to reset back to custom scope

Since javascript keeps variables outside function scope, 
we can just keep track of the original scope name and
set it back after we finish our sequence.
Merge pull request #2 from tedkulp/master

Ability to reset back to custom scope after sequence