I have a plugin and it has a below custom page template. This template requires jQuery. I\'ve a variable $link_to_js liked to google library but I want it to link it to the Word
You should include <?php wp_head(); ?>
and <?php wp_footer(); ?>
immediately before </head>
and </body>
respectively.
These functions are what, among other things, include scripts and styles that have been queued.
References:
At the very least add <?php do_action("wp_enqueue_scripts"); ?>
as that will output all the queued scripts.