No. I just want to change the available location of the widget from which I can choose from.
Yes you do, because that's what a widget area is!
If you want to display widgets in a template, that template must have widget area code in it, and that widget area must be defined in the list as you're attempting to do.
I can active them, but not on my expected template.
Yes because the widget areas you want are not there.
Your code looks right to me. I'm not sure why it isn't working. Please try adding a console.log inside the function to check if it's actually running when you visit the widgets admin page (as I suggested before).