Linted code and added use strict statement