public function getJs($position=self::ON_HEAD)
	{
		if($this->js===array())
			return array();
		$js = isset($this->js[$position])&&!empty($this->js[$position])?$this->js[$position]:array();
		if($js===array())
			return $js;
		$options = $this->options;
		if($this->isCombineEnabled())
			$this->combine('js', $js);

		// avoiding duplicate assets
		$js = array_flip(array_flip($js));
		array_walk($js, function(&$value) use($options){
			if(!empty($options['baseUrl'])&&strpos($value,'http://')===false)
				$value = $options['baseUrl'].$value;
		});
		return $js;
	}