Deleted old javascript code