Fixed bug with story editing in share mode.

- Found and fixed another share mode bug--url was being generated
  before_save rather than before_create, so it was invalid once
  the story was modified
- Fixed indentation in JS file.
Merge pull request #107 from apesic/bugfix

Fixed bug with story editing in share mode.