Revert "Remove unnecessary Javascript installs on Travis"

This reverts commit f153193eaa794041a74df200def95b4ce89df8e4.