Update package.json and add basic JS code structure.