mainjs in welcome#index view