add composer step in build and make sure to load platform.js first