fix js formatting