adding in require js and  typescript