Blank screen on trying to launch WebUI

I have launched WebUI which is hosted in a linux server. The WebUI launches with a blank screen. I am using 6.0.2 version of ConfD. The error that I see in the debugging tool is " Uncaught syntax error" in index.js. Though the code seems to be fine, the screen is blank.

Are you able to successfully run the WebUI example under the examples.confd/webui/basic directory?

Can you share your code that is generating the “Uncaught syntax error”?

I am trying to run the example in confd/webui/example directory

SyntaxError: expected expression, got ‘<’ index.js:1:0

What kind of Web browser and its version are you running?

I am using Firefox 41.0.2. This happens with IE 8 as well with a syntax error on the same line.

Perhaps you can try the login page directly?

http://127.0.0.1:8008/login.html

Or using the curl tool,

$ curl 127.0.0.1:8008/login.html
Server reply:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">

        <title>ConfD</title>

        <link rel="stylesheet" type="text/css" href="login/login.css"/>

        <script type="text/javascript" src="login/lib/jquery/dist/jquery.min.js"></script>
        <script type="text/javascript" src="login/login.js"></script>
    </head>

    <body class="">
        <div class="main">
            <form class="login" id="login" action="">
                <h2>Login</h2>
                <div class="row">
                    <div class="header">
                        <span>User :</span>
                    </div>
                    <div>
                        <input type="text" name="user" id="user">
                    </div>
                </div>

                <div class="row">
                    <div class="header">
                        <span>Password :</span>
                    </div>
                    <div>
                        <input type="password" name="password" id="password">
                    </div>
                </div>

                <div class="buttons">
                    <input type="submit" name="login" value="Login">
                </div>
            </form>
        </div>
    </body>
</html>

I have tried the login.html directly. ConfD 6.0.2 has a different login.html. The error that I see in the Firefox debugging console is SyntaxError: expected expression, got ‘<’ index.js:1:0 which shows

`<!doctype html>

...... `

My reply was from testing with ConfD 6.0.2 running the $CONFD_DIR/examples.confd/webui/basic example that comes with ConfD 6.0.2.
Can you provide your output from running the curl tool as I suggested?
Thanks