Expose CompileString to browser