Simplify asset test, keep line breaks in css and js