traceur added and code updated to ecmascript 6