added expander function in build.js