Resource plugin working for CSS and JS