add a core folder to store js file