Any approved method for adding Javascript before body close?

Yes I have already put the script in on the Desktop version of </body>.

<script type="text/javascript"  charset="utf-8">
eval(function....
</script>