Answers to Javascript task post by Dmitry Baranovskiy’s in his blog http://dmitry.baranovskiy.com/post/javascript-tasks