Fix Javascript and add Package for Extension.