added isSvg function, compare lower and upper case strings
added module definition for node