Quick and Dirty NS to JavaScript Converter