function throw_error(s){
	console.log("ERROR: "+s);
	throw new Error(s);
}

module.exports.throw_error=throw_error;

function endsWith(subj,thing){
	return subj.indexOf(thing,subj.length-thing.length)!=-1;
}

module.exports.endsWith=endsWith;

Remove throw_error and add some useful function ;-)
Remove throw_error and add some useful function ;-)
