Resolves #12 & #7. Now using jquery-cookie as submodule