apply to fractaljs 1.1.x