Update index.php

makes no sense to call js for a redirect as it´s an inline violation within google chrome. Old php header is plenty and works.