fix bootstrap JS compatibility
reformat code
update version number