added misc.js which was causing the nameavailability check to fail