To use the script you must to include:
<script type="text/javascript" src="dictionary.js" ></script> <script type="text/javascript" src="lib378.js" ></script>then define a popup and and input enabled ids:
<div id="lib378" style="visibility: hidden; text-align: center;"></div> <textarea id="input"></div>