Code played with during jersey hackathon 2014