Fixed XSS vulnerability (Thanks, AtomTheMan!)