Package Builder #3

- add JS / min JS
- simplify code of builder.js on client side using jQuery
- also simplify code on server side