Compatibility for 1.6 + added Bootstrap

Debug the javascript for 1.6 + added Bootstrap