Fix broken media module links in WYSIWYG.

Only add the js to the footer instead of the header on the frontend
theme. The backend theme is left alone.
Merge pull request #60 from reload/feature/media-button

Fix broken media module links in WYSIWYG.