Displaying a random ad on the welcome view, and fixed escaping characters issue on the javascript on the /ad path