more changes to the square view model to add pubsub instead of crappy UI jquery code embedded in the objects's business logic