added jQuery function to fill in instructions