restored Javascript

restored javascript and will restore appinfo.json