a (fun) class api for javascript