Bugfixes for multiple inputs in the same page

Adapt some bootstrap 2 examples