Frontend: utils.string.ucfirst() added

The function was missing from the frontend.
Copied it from the backend utils.js