[javascript] Simple JavaScript problem: onClick confirm not preventing default action