Few examples to play with promises and DOM objects