remove path.join
add Content-Type
better css dependencies function