JavaScript até mouseOut
test.addEventListener("mouseout", function( event ) {
console.log("out");
}, false)
Gadgetsan
test.addEventListener("mouseout", function( event ) {
console.log("out");
}, false)