Added javascriptMarker parameter to specify where to put generated javascript link in template. By default </body> is set. For inserting javascript into the head use </head>