adding the JQ widget with a new items attribute