Implement Javascript Object