simplify core js