User space JavaScript threads