Simplify and speedup <%= sanitize.less %> function