select menu ... options not working when I bind to pageinit

select menu ... options not working when I bind to pageinit

hello;

I am new so please be patient. I have a select menu that I am using jquery mobile to turn into a dropdown.

when I do:
<select ... data-SOME_OPTION = 'SOME_VALUE' >
it behaves as expected.

but if I add that same option/value to:
$(document).bind('pageinit', function () { $('select').selectmenu({ corners: false });});
it does not work.

EDIT:
$(document).bind('pageinit', alert('hello') );
does work

see it here: jsfiddle

thanks,
Shannon