modify the core js