Fixes 0.9.3 RC

Fixes for #377 and Javascript problem: "Uncaught ReferenceError: customer is not defined"