Added some js day3 stuff