updated urlparam

taken out <script> tags, stupid if in separate file