disabled old javascript code