Took out old js code