Prevent script from throwing error when mousemove e.pageX = 0
Make event listeners more readable