Great work

Please wrap your wp_register_script and wp_enqueue_script with something like the following to get rid of a PHP Notice (there are several others for the settings page but this one appears on every page):