Move adding classes to the templating layer
Merge pull request #6 from thewilkybarkid/avoid-fouc

Move adding classes to the templating layer