end mill, javascript