modify build.js: change relative-path to absolute-path