There should be a space between `}` and `else`. Actually, Brackets code needs to pass JSLint (which would have caught this), so be sure to turn that on in your code.