Bunch of small tasks solved using javascript