Fixed jquery document ready function call, cause of my weird input box issue

For my own reference, $( func ) does some funky stuff, while $(function() { func(); }); is the proper shorthand for jquery function execution on document ready. $(document).ready() is the long-form, while $(document).on('ready') is deprecated.