CRM-15524 - Modify contribution dashboard js to work as header script