How to redirect the "Sign Up" button element

I’m trying to change where the “sign up” button sends a user on the default wix members login screen. The standard is to open up the sign up form - however I want it to send the user to a different web address. Is there a way to do this by adding some code to the masterPage.js?

I believe the element I’m trying to over ride is ‘memberLoginDialogswitchDialogLink’.