Copyright (c) 2012-2019 JS Foundation and other contributors