I am beginner in JS.
I found wonderful example of responsive menu

and put code inside functions.php.
Menu must works like here filamentgroup.com/examples/rwd-nav-patterns/
but i have the bug - dropdown menu shift to the right in my site when i use tablet mode. I tried to include this menu in my site, based on Bootstrap b.pusku.com
I am appreciate any help.
Thank you!