Move to share page via javascript.

Ugly as hell, but it's a hackathon!
Merge pull request #47 from nubs/master

Move to share page via javascript.