removed old js and added flip card