fix javascript fart