remove duplication from csslint / js checks