updating add category js and breaking out style sheets