Anything you can do in JS, you can do it in Pharo, thanks to PharoJS. PharoJS allow reusing and extending in Pharo any third-party library developed in JavaScript. Here are some examples. The code for these and more is available in the PharoJS GitHub repository.