support normal js build and upload