Altered jQuery for Mouseup and Mousedown events