I don't like using objects like this for Javascript.