At first tried string-base64.js for this purpose. Yay it runs without an error. And tests some other SunSpider programs. All of them run without an error.
So the next thing I do is cleaning up configure and Makefile.
On OSX building jsc isrelatively easy.