Make sure options hash is at least an empty object
Upgrade javascript libs