Tried to implement binding mechanism, but I think this will be best handled in a backbone kind of way.