Delete useless JS code