JavaScript third party widget example