Update strophe.register.js

I have used this plugin. With out this change register was not worked. after make like this it will works fine.