removing non javascript files