Why is this <script> here, I think this should be moved out.