JavaScript experimental functions