add bootstrap and fixes for rails v4