Updated scripts to load after body text and corrected server response code to 204 from 401