Reworked detecting if it's a JS, CoffeeScript, Ruby, CSS or LESS file by switching the indexOf around Also performed indexOf on an array rather than looking at each array item in a for loop Ternary shortening of code in a few areas