fixes js shit