Fix #1321: Implement setTimeout (et al.) in Rhino