change haflow.main.js