Adding button and incorrect js