Error conditions and cleanup

Adds missing error states such as 
'no customer found'
'no orders found for customer'

Fixes issues with jshint and adds support for translations with defaultLocale as english