Happy Monday!
Figured my way around the problem.
Side note: I'm having an issue in this particular module where for some reason I'm getting errors on my resx file generated by the template where it doesn't like the '.Text' in the name.
Doesn't really seem to hurt anything though annoying still.
Anywho the problem is when I pass a variable to GetString it thinks this contains a string containing text that is the 'Name' WITHOUT the .Text which is a sort of 'type'. This is its behavior by default. Therefore if you pass a string such as 'test.Text' its actually going to look for a string like 'test.Text'.Text (ignore the '' there's just for emphasis). To fix this I did some regex to get rid of the unnecessary text:
An interesting side note is that '_' and '.' seem to be treated as the same thing. I read that '.' are automatically converted to underscores.
Now I just have to incorporate this into my JS files.
Cheers.