jquery v3.1.1 which is almost an updated version in not supporting bootstrap v3.3.6 . I have fixed by changing jquery v3.1.1 with v2.2.4 .
I have checked both the templates and they don't show any issues with the changed jquery .