Extracted scalejs core.