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