Initial javascript solution to bob