check item exist.
create template js file before watch all files.
check item exist.