optimize loading of JS - don't load button and fx, when unneded - pages are much faster loaded!