fixing button and name js