extra spaces for placetext javascript, and url pretify