STEP 1: JAVASCRIPT