javascript bug when user add a module_project