don't count draw when refreshing. move draw counting out to main.js