Fix #335

Add the support for web jar packaging.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>