9cad92d background.js: Do not redefine levels

Authored and Committed by Libor Polčák 4 years ago
    background.js: Do not redefine levels
    
    Remove the horrible ifs. Rather use the information stored in the level
    dictionary.
    
        
file modified
+8 -59