Bootstrap switch issue

based on http://www.larentis.eu/switch/

HTML

<link rel="stylesheet" href="http://twitter.github.io/bootstrap/assets/css/bootstrap.css">
<link rel="stylesheet" href="http://www.larentis.eu/switch/bootstrapSwitch.css">
<script src="http://www.larentis.eu/switch/bootstrapSwitch.js"></script>
<div class="position-action">
    <label for="radio1">Open</label>
    <input type="radio" id="radio1" name="radio" />
    <label for="radio2">Close</label>
    <input type="radio" id="radio2" name="radio" />
</div>

JavaScript

$('.position-action').bootstrapSwitch();