Clearer document events handlers binding