Remove duplicated definitions of drawCircle and drawEllipse in Graphics.js

Bonus: linter fixes