moved register js to static file, changed register form to use su_prototype for adding additional items.