JavaScript - Where to put a JavaScript Code