Added small js tweak to subscription link js, and streamlined a bit of code as well