added bootstrap and jquery lib, fix logic and base config