trying to fix js 2