[bug973120] - Moved inline script into separate file

-> https://bugzilla.mozilla.org/show_bug.cgi?id=973120