CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
deactivate()
{
  # todo: check to see if _SYNCMLJS_PATH/PS1 are set, then:
  export PATH="$_SYNCMLJS_PATH"
  export PS1="$_SYNCMLJS_PS1"
  unset _SYNCMLJS_PATH _SYNCMLJS_PS1
}
export _SYNCMLJS_PATH="$PATH"
export _SYNCMLJS_PS1="$PS1"
export PATH="$CWD/node_modules/.bin:$PATH"
export PS1="(syncml-js) $PS1"
