slots in js format