now it's ajax, using promises
correct path to module in error message