+ js version of ColorLines4M