Kendo UI Mobile base

HTML

<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.229/styles/kendo.mobile.all.min.css">
<script src="http://cdn.kendostatic.com/2012.1.229/js/kendo.all.min.js"></script>
<div data-role="view">
    <a data-role="button" data-click="foo">Foo</a>
    <a data-role="button" href="#bar">Go to bar</a>
</div>

<div data-role="view" id="bar">
    Bar
</div>

<script>
    function foo() {
       alert(1);
    }
</script>

JavaScript

new kendo.mobile.Application();