firstrun app install process, dependency check, javascript work