Adding JSO to the javascript