Utilities used in jsfiddle