@Wahaj here,
Yes I would love to help you customizing your Javascript block to achieve what you desire.
I've been working on JAVASCRIPT based front-end & back-end (NodeJS, Mongodb) for a long time &
understands the flow of Javascript programming.
So kindly make a contact finish your this very task ASAP.
Looking forward to hear from you.