Moved the contribution.js code to the page because it wasnt loading properly when it wasnt on the page for some reason.