If I have text that is placed on my site via a .js file. Can Google still see this text.

The text will not be changing often, but it was just easier to make it a .js file than to update all my pages?

Thanks in advance.