Change for use with javascript in the bottom on the page and update to simple_form use

For update of simple_form with bootstrap 3 https://github.com/plataformatec/simple_form/pull/997

and add javascript in the bottom of layout