Deleted old js code