removed pa_jquery.js and fixed bug in edit