Support providing required dependencies, css and js as either array 
or single value.