JSHint cleanup
Encode uri before sending it to v.gd
Merge branch 'fix-share-button'. Fixes #1