Fixed shipping method storage.
Fixed javascript syntax errors.