using preventDefault instead of return false