First pass at re-adding the good ol' JS behavior

- CSS: add a .spin class,
- so in JS there's an add_loading() function that adds a spinning icon
- JS behavior: add new URL, display share box