Javascript Object Layout