Use jshint for sanitizations

Use jshint and 'use strict' declaration for sanitizations