Fixes applied in the scaffold templates for client side javascript (Backbone).