My first step of the minify is stripping out whitespaces, but it already gives an error unexpected identifier.
<script>
function initializePonzo() {
bindNavigation();
}
function createDiv(parent) {
var newItem = $("<div></div>").attr("id", divname).appendTo("#" + parent);
$(newItem).attr("data-type", typeofcontent);
$(newItem).addClass(typeofcontent);
}
</script>