updated domain in java script to get wp username.