updated core js