Fix for Safari 7/Webrick