Adding a change from @sanjayoliver to axis.js