005 solution in js