added polite js