LB-1580 Build JS for production

Minor fixes in theme builder.
Added waypoints path in build.