DSA Mentor runs your code in the browser, so it needs JavaScript switched on.