Added bootstrap

Added bootstrap and refactored some of the js