Active Record for EcmaScript