Cmake link js

Provides dependency tracking mechanism for user .js files added to a CMake project using --js-library, --pre-js or --post-js.