The file upload hander adds a script tag, but includes foo="bar" which is invalid HTML: <script src="url/modules/SmartForms/js/jquery.SMTFMUploadHandler.js" foo="bar" ...>