[client] (bug-fix:minor) Added parameter 'skipLast' to findRandomLastIndexInHtml' to skip the last occurrence of a keyword when the keyword is the script name (since in that case the method would also erroneously match 'Page generated by ...')