fix version check
fix background dimming for 3.8
fixed some js warnings in console