Remove the javascript, since it's breaking anyway. Should get this working properly and restore it for a nicer mobile experience...