fix register link
taking out default arguments from javascript