update file structure, find out a correct relative path for funcs.js