Apply `var` keyword to js at welcome#index

I stopped global variable leaks.