dark theme enabled, jquery ajax snippet