We usually don't put non-globals here. If we move `showPreview` before `handleMouseMove` that will fix the JSLint error.