move javascrip to the bottom of body
removed redundant call to client_files_body