I've solved the issue and the working version is now on the original page if you would like to have a look - I'll also update the original page once the voting period ends :)