Healthy eating self-assessment tool.
$(window).on('message', function(e) {
var tmp = (eval('(' +e.originalEvent.data+')'));
window.hasOwnProperty = window.hasOwnProperty || Object.prototype.hasOwnProperty;
if(tmp.hasOwnProperty('nhs_redirect')){
window.location.href = tmp.nhs_redirect;
}
});