some utils,eg.simple promise & ajax and so on