I have HTML and JavaScript that run just fine in a SharePoint 2013 content-editor web-part, from which I can access the Ewa.EwaControl object (https://msdn.microsoft.com/en-us/library/office/ee589018.aspx) to get to the various Excel Web Parts hosted on the page.
The Ewa has some limitations that I'd like to overcome by using the office.js (https://msdn.microsoft.com/en-us/library/office/fp142185.aspx).
Also, both Ewa and office.js seem to do a similar thing, but I can't find anything on the internet that indicates which is deprecated in favor of which. With SharePoint 2016 requiring Office Online Server, and Excel Web Parts now being subsumed by Office Online Server, what does that mean with regard to the future of either office.js or Ewa? They seem to have overlapping features and it's unclear which we should invest in.