Added comments indicating prompt_service.js lines modified from original.