Fixed issue in js build automation