Fixed bug 4024 - remove trailing comma of Controller mappings because it reports an error "Unexpected controller element"