Added exception handling, unary operators and typeof operator