SHELL - javascript for buttons