minor cleanup changes

* Add type to <script> in modscripts.php
* Rmv unused code in register.php
add autocomplete to password2
Merge remote-tracking branch 'origin/master' into dev