Add helper functions for jsfiddle