Create buttons_behaviour.js

javascript for updating css for buttons