change condition whether add function to includes.js or not (create***, register***)