removed old js code.