simplify-weight.html, change the offset to 0 instead of a function call