Programmatically Setting Entry Type Via Javascript
You need to trigger the change() event of the field (after the event handler is attached so not on page load but on $(document).ready()

$("#entryType").val(5).change();