Array Declaration In Javascript Object Methods