replaced native dom api with jquery for greater cross browser api compatibility
running tests in Firefox to avoid having to install another browser on Travis