removed unused js code;