Added quotes around the value attribute of the weight input box.