Set the image to be used as a border using style.borderImage property with JavaScript

This is element 1
This is element 2
This is element 3
This is element 1