These days it seems like people recommend placing the script tag just before the closing body tag as such..