removed outdate .js code