added error() and renamed store() to jstore()