Woops, some errors (See gist revision 2)

https://gist.github.com/adamrp/75e51185460306df0e8c/revisions