fix js problem well done