Added JS redirection to magda-kwartet.