change onmouseup to mouseup