move javascript to login_counter.js