Fixed issue with trim() not existing...
Fixes #3. Text alignement in inputs should be centered.