plasma-scriptengine-javascript software package provides JavaScript script engine for Plasma, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install plasma-scriptengine-javascript
plasma-scriptengine-javascript is installed in your system.
Make ensure the plasma-scriptengine-javascript package were installed using the commands given below,
$ sudo dpkg-query -l | grep plasma-scriptengine-javascript*
You will get with plasma-scriptengine-javascript package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | KDE |
| Package | plasma-scriptengine-javascript |
| Version | 4:4.13.3-0ubuntu0.2 [amd64, i3 |
| Description | JavaScript script engine for Plasma |
| Sub Section | KDE |