Split CSS and JS from HTML