Tag - Get filename from URL using Javascript