Changed javascript redirect mehod to location.href