Add JavaScript solution to bob