add parent() to stylesheets and javascripts block