Common JS API optimized: ORM in distinct js file, hash key constants deleted