private function _processHtmlJsMarker(&$pBuffer, $pId)
	{
		$this->_js[$pId] = array_unique($this->_js[$pId]);

		$skinPath = $this->_getSkinRelativePath();
		$jsTags = array();
		foreach ($this->_js[$pId] as $js) {
			if (! filter_var($js, FILTER_VALIDATE_URL, FILTER_FLAG_PATH_REQUIRED) and strpos($js, '//') === false) {
				$filePath = $skinPath
					. self::APP_HTTP_JS_DIR
					. DS
					. $js;
			} else {
				$filePath = $js;
			}
			$jsTags[] = '<script src="' . $filePath . '" type="text/javascript"></script>';
		}

		$footer  = ($pId === self::JS_MARKER_FOOTER) ? true : false;
		$pBuffer = str_replace(self::getJsMarker($footer), implode("\n", $jsTags) . "\n", $pBuffer);
		return $this;
	}