add .js to write_to_chat and add newrelic gem with yml file including license_key