fix min/max in old IEs, use clone for dynamic nodes
improve class names and styles