migrated 1.4 JS to jQuery and Bootstrap (some parts are still missing)