refactored to use CreateJS for loading images