automated removal of define statement at end of dialog and gear js files. bumped to 1.0.1