Prototype-bootstrap compatibility workaround, closes #1190.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Fixed tickets | 
| Refs tickets  |
| License       | MIT