Added the js from johns project