ecmascript 5 sample source