fixed Uncaught ReferenceError: customer is not defined
fixed #377
PHP 5.3 compatibility
Merge pull request #386 from kevinpapst/fixes-RC

Fixes 0.9.3 RC