more js-like code for Bootstrap start method