Adding ext to registerScripts()