fix theme javascript