fixed terminal size in osx and made js syntax check optional