Playing with typing js