Force JavaScript at the end of the page for faster loading in a better way