# Usecase: rewrite a block with JSON Static

Let's imagine we have this block:

### How to replace functions?

* use Javascript
* Make sure to use the new helper **GalaxyHelpers.resizeImg(url, width)** to resize the images
