Button working with javascript now