JS code appears on page instead of being executed

The javascript that displays the users list was outside of the
<script> tag, making the js code itself render on the page instead of
being executed.