Migrating the frontend over to backbone