Create jsow.js

This file contains all function needed to create a widget.