JavaScript: JS-objects a simple example