product shop edit now showing, with JavaScript errors