JavaScript Logic is a plugin that allows you to add JavaScript however you want. There’s no need to add a script on all of your blog’s pages when you only need it on a few. By using WordPress conditional tags or through a meta box on the Write Post/Page screen, you control what files are added to your site and when.