trying to fix js