fix theme variable in js