[Languages]: Fixed some php strict errors in Export method
[Languages]: using new global js variable for base script