added javascript and css support