added js for buttons and options panel