Fix a few PHP notices
Replace WP_PLUGIN_URL with plugin_dir_url

WP_PLUGIN_URL isn't SSL aware. Switching to plugin_dir_url will make it SSL aware.