Changed the rendering of the JS to follow the format of the docs and build it on the fly based on the parameters
removed debugging code
changed register widget to wp_register
Filter the password reset emails to allow the link to display, Sailthru will handle the delivery of text only emails if required.