Wrapped the javascript in an IIFE #2