updated to current version of requireJS
updated to add controller module requirement path for angular
adjusted pay function to respect dontSnowball flag