Fixed context problem with local cookies (forgot about the path attribute) and removed state.html and iframe