Added example of JS Class.