Update and rename gs1.js to widget.js