require(['modernizr','jquery','backbone', 'router', 'fastclick', 'backbone.queryparams'], function(Modernizr, $, Backbone, MoxieRouter, FastClick) {
    moxieRouter = new MoxieRouter();

    // Default to requesting hal+json but fallback to json
    $.ajaxSetup({ headers: { 'Accept': 'application/hal+json;q=1.0, application/json;q=0.9, */*; q=0.01' } });

    // Add an event listener for sending document title changes
    Backbone.on('domchange:title', function(title) {$(document).attr('title', "Mobile Oxford - "+title);}, this);

    // This kicks off the app -- discovering the hashchanges and calling routers
    Backbone.history.start();

    // Some simple events called on the default index page -- mostly for the sidebar menu
    $('#home a').click(function(ev) {
        ev.preventDefault();
        $('body').toggleClass('is-sidebar-active');
        return false;
    });
    $('.overlay, #sidebar a').click(function(ev) {
        $('body').toggleClass('is-sidebar-active');
    });

    // Include FastClick, this removes a 300ms touch event delay
    window.addEventListener('load', function() {
        new FastClick(document.body);
    }, false);
});

@@ -57,16 +57,56 @@
 tclick',
+ 'favourites/views/FavouriteButtonView',
  'backbo
@@ -178,19 +178,208 @@
 astClick
-) %7B
+, FavouriteButtonView) %7B%0A    // Include FastClick, this removes a 300ms touch event delay%0A    window.addEventListener('load', function() %7B%0A        new FastClick(document.body);%0A    %7D, false);%0A
 %0A    mox
@@ -1225,173 +1225,59 @@
 %7D);%0A
-%0A
     
-// Include FastClick, this removes a 300ms touch event delay%0A    window.addEventListener('load', function() %7B%0A        new FastClick(document.body);%0A    %7D, false
+new FavouriteButtonView(%7Bel: $('#favourite a')%7D
 );%0A%7D

Initialise FavouriteButtonView on initial load