Javascript library to help drawing polynomial graph functions