extend js error alert to split method name

allows for future toggle of method name in error message for debugging
Use metric tooltip to show full metric name. Limit results on first load to 20, prompting to filter for more refined results