Adding history for not HTML5 compliant browsers (ie IE9)