Not setting '0' in the DOM, updating CSS