Why not use an object literal with all these as properties and save a lot of repetition?