bash build script for js project