Use Access-Control-Allow-Origin: * in web server
Fix error: ubyte format requires 0 <= number <= 255