I just felt a program is such a general and high-level way to describe software... basically anything that computes...
wikipedia: " collection of instructions that performs a specific task when executed by a computer "
We can do better than describing a JS Framework/Library, than calling it a program I guess.