fix js hint