es6 support

Test Plan: make test

Reviewers: jack

Differential Revision: http://phabricator.khanacademy.org/D6935