Shapes library for JavaScript