updated js intro with button click