Move CSS from JS code to a specific file