Update build.js

added indicator support