Added throw keyword to c-like and javascript