[bug979642_publishButton] - Moved inline script into separate file, deleted unused html file, changed include to linked script

I misspelled my last PR, so this bug refers to -> https://bugzilla.mozilla.org/show_bug.cgi?id=979642