Fixed undefined error in safari with jquery selector
Merge pull request #1459 from jaypoulz/bugFix

Fixed undefined error in safari with jquery selector