fix extra spaces in user links
fix JS when there's no themepicker