I know no javascript, so this is a basic question. I'm using this code to send visitors to certain pages if they are on android/ios phones:

<script type="text/javascript"> // <![CDATA[
if...