Code for San Francisco Hackathon (js)