Remove some JS loaders
Trim incoming whitespace - jquery doesn't like that
Disallow any on* attribute