Added sanitiser to tal.
Fixing JSHint.