Working javascript to allow inspire me button to popup