Fix js require