Minor fix for browser compatibility