Where is the correct place to insert a JavaScript?