JavaScript (etc.) utilities.