if ($.mobile) {
var button = $('<a id="customButton" data-transition="none" class="mobile-button"><span class="glyphicons download"></span></a>');
button.on('click', function() {
console.log('click');
});
$('#defaultMenuContext').append(button);
}