fix js build