fix register bug and transition bug
update uri.js
0.8.3