fix js interactions