Fixed bug where styles were enqued as scripts