moving prompt method to utilities
Improving yui3Utils