minor fixes & factored out gulp lint