Button javascript

Added javascript called on button press