Refs #463. Use jquery bind to support old IE.