Create relatedimage.js