localJS on login screen