small cleanup in pyret-to-js