add versions to javascript client and DOM plugin