switched bootstrap to bower component
fixed onready; moved functions in private scope;