Agree with @Mebejedi, this should work fine. Not actually what I suggested but simpler so good for you. There are always many ways to accomplish something in webCoRE.
@guxdude Thank you! Still new and learning with WebCore.