events, constructors and bootstrap 3