fix js hints