Moves js file to head section to prevent multi-loading.