Added pl_i18n.gettext( 'some text' ) into global javascript. Updated pot file with js translations so far...
bit of logic needed here...