Do not store the list of js files in CMakeLists.txt.

The list of files changes on many commits and makes merging hard. This patch simply removes the list from the code and uses one that is generated and placed in the build directory.