remove php and js previews