Delete Javascript that not is necesary