add new preferences JS for translation stuff, remove JS from view, add to build, update resultant JS file, show success message in view