changed onMouseUp listener
recompile js