Don't store total count in atom
Move css and js vectors to separate vars