Added onclick event to current location