Refactored slightly to use the newly released Famo.us library