Dynamic Favicon shows number of new lines

I tried to achieve this with minimum dependencies. 
I used tinyconjs for the favicon manipulation but I avoided to use jquery just for the focus event.