Fixed sharing bug
Update router.js
Merge pull request #17 from vvayne/fixSharing

Fixed sharing bug/weird things that happen after lock