split out css & js for inject