Uploaded Object oriented Javascript