more jQuery.fn.live fixes for the "submit story" page

Moved most of the inline javascript for "submit story" to application.js, and updated it to use .on() instead of .live()