space before and after '<'. also, cache outlines.length, e.g. for (var i = 0, ii = outlines.length; i < ii.....