mapfishapp: fixed errors reported by closure compiler