made add a button, $ now integrated, errors handledby javascript now, and more