fixed edit patch form styling
small fix to patch form javascript