bugfix: (issue 16) define $timeout variable on when missing (Mac OS X problem)