refactored to use require and backbone
refactored to use require and backbone