Fixed event listener problem, edited gulp settings