updating to the new manifest version
updating jquery and refactoring some details
fixing some details
better code when opening many tabs, to avoid memory problems