stn.js
function (options) {
		var ky, 
			default_keys = [
				"normalize_date",
				"hours",
				"save_parse",
				"tags",
				"map"
			],
			defaults = {},
			map = {};

		default_keys.forEach(function (ky) {
			defaults[ky] = true;
		});
		this.defaults = defaults;
		this.map = false;
		this.parse_tree = {};
		this.msgs = [];
		if (options !== undefined) {
			for (ky in options) {
				if (options.hasOwnProperty(ky)) {
					if (default_keys.indexOf(ky) >= 0) {
						this.defaults[ky] = options[ky];
					} else {
						map[ky] = options[ky];
					}
				}
			}
			if (Object.keys(map).length > 0) {
				this.map = map;
			}
		}
	}
function (options) {
		var ky, 
			default_keys = [
				"normalize_date",
				"hours",
				"save_parse",
				"tags",
				"map"
			],
			defaults = {},
			map = {};

		default_keys.forEach(function (ky) {
			defaults[ky] = true;
		});
		this.defaults = defaults;
		this.map = false;
		this.parse_tree = {};
		this.msgs = [];
		if (options !== undefined) {
			for (ky in options) {
				if (options.hasOwnProperty(ky)) {
					if (default_keys.indexOf(ky) >= 0) {
						this.defaults[ky] = options[ky];
					} else {
						map[ky] = options[ky];
					}
				}
			}
			if (Object.keys(map).length > 0) {
				this.map = map;
			}
		}
	}
function ( options ) { var ky , default_keys = [ "normalize_date" , "hours" , "save_parse" , "tags" , "map" ] , defaults = { } , map = { } ; default_keys . forEach ( function ( ky ) { defaults [ ky ] = true ; } ) ; this . defaults = defaults ; this . map = false ; this . parse_tree = { } ; this . msgs = [ ] ; if ( options !== undefined ) { for ( ky in options ) { if ( options . hasOwnProperty ( ky ) ) { if ( default_keys . indexOf ( ky ) >= 0 ) { this . defaults [ ky ] = options [ ky ] ; } else { map [ ky ] = options [ ky ] ; } } } if ( Object . keys ( map ) . length > 0 ) { this . map = map ; } } }
reset - clear the parse tree sets save_parse to true, sets normalize_date to true sets tags to true sets map ot false @param options - a set of options to override the defaults with on reset.
reset - clear the parse tree sets save_parse to true sets normalize_date to true sets tags to true sets map ot false