Changed template selector JS to fix radio button select and close #185