Try to make main.js work with Parse server