<!DOCTYPE html>
<html>
    <head>
        <title>Hello Cordova</title>
        <link rel="stylesheet" type="text/css" href="css/index.css" />
        <script type="text/javascript" src="js/index.js"></script>
        <script type="text/javascript">
            app.initialize();
        </script>
    </head>
    <body>
        <h1></h1>
        <p>deviceready... <span id="deviceready">initializing</span></p>
    </body>
</html>

<!DOCTYPE html>
<html>
    <head>
        <title>Hello Cordova</title>
        <link rel="stylesheet" type="text/css" href="css/index.css" />
    </head>
    <body>
        <h1></h1>
        <p>deviceready... <span id="deviceready">initializing</span></p>

        <script type="text/javascript" src="js/index.js"></script>
        <script type="text/javascript">
            app.initialize();
        </script>
    </body>
</html>

Move JavaScript to the bottom.
Move JavaScript to the bottom.
