use strict for button.js
added a more flexible animation system

(still under dev)