reverted nameavailability.js