improve build script for jsl.