Javascript Errors while building for androis and linux

In our project we are using a socket.io and parse. Everything work fine, but when we try to build the android on windows and linux it throws up error for the two files .Meanwhile we are able to build the same script on a MAC .

What could be responsible for that. any help will be appreciated. as we really need it to build on windows/linux