Fixed several XSS Problems (Thanks to Kenneth Jepsen, Mikkel Vej, Morten Nørtoft, nesterenko) #274