Does the Javascript portion of the Button code need to be immediately after the < div > section or can it be placed within the <head> part of the web page?