fixes of js build process