SPA - javascript conform widget names