-changed to button type, js updated

Signed-off-by: Artyom Borkowsky <artyom_borkowsky@stylesoft.by>