Reference app from Wrox's Professional HTML 5 Mobile Game Development