Remove singlePoint variable that is assigned but not used in bar models

I noticed this variable wasn't being referenced by the model at any point.

This variable was also being assigned as a property on the global object (`window` in browsers) instead of being declared locally with a `var` statement.