use /js/model/ to refactor file