difference emacs windows and emacs cygwin

code to make a difference between native emacs on windows and cygwin
port of emacs.
JS-API v3.5

changed to JS-API v3.5