Multiple markers

This PR aims to:
1) refactor the code
2) change the version of jQuery to support IE8