Test Case Boilerplate

Fork this way...

HTML

<!doctype html>
<html>
<head>
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />

</head>
<body>

    <script type='text/javascript'>

        document.write ("<scr"+"ipt type='text/javascript' src='http://www.centarnekretnina.net/dev/test2.js'>");
   document.write ("<\/scr"+"ipt>");
    </script>

    <script type="text/javascript">

            $(document).ready(function()
            {
                test.init();
            });


            var test =
            {

                init: function()
                {
                    alert("test");
                }
            }

        </script>

</body>
</html>