Fix JS directory