Fix problems with uglifier related to timeline containers