add javascript core