Changed order of tag and script in hide_input().