LB-1580 Build JS for production

Fixed themes return plugins array.
Removed unneeded libs in the theme build process.
Merge pull request #159 from nistormihai/master

LB-1580 Build JS for production