Bug 842500 - "TypeError: Floating-point value is not finite." when assigning undefined to a <progress> value r=etienne

- use removeAttribute instead of assigning undefined