fixing selector AMD definition didn't had a function and breaks in some AMD loaders