fix js effects