Added initial core javascript class.