Expandable frequency capping

Also, moved CSS and JS out of DFP template into frontend
Shouldn't this be in some variable or using colour function. You are using it in the code below again.