Binary package “libmozjs-24-dev” in ubuntu trusty

Spidermonkey JavaScript library - development headers

 SpiderMonkey is the code-name for the Mozilla's C++ implementation of
 JavaScript. It is intended to be embedded in other applications
 that provide host environments for JavaScript.
 .
 This package contains the header files and static library which is
 needed for developing Spidermonkey embedders.