Javascript implementation of an engine pattern for 'syntax-highlighting text' with potential uses for other things.