Return values (warning: contains JavaScript abuse)