JS fix for wp-login status