Contains image tracing algorithm in JS.