Home Javascript Javascript to extract last parameter of a string after slash(/)