Eliminate create_function
Use plugin_dir_path for includes
Use plugin_dir_url for wp_register_script