fix js require